#ifndef __MD5_H
#define __MD5_H




typedef struct {
        unsigned long state[4];    /**< state (ABCD)                            */
        unsigned long count[2];    /**< number of bits, modulo 2^64 (lsb first) */
        unsigned char  buffer[64];  /**< input buffer                            */
      } md5_ctx;

extern void md5_init(md5_ctx *context);
extern void md5_update(md5_ctx *context, char *buffer, unsigned long length);
extern void md5_final(unsigned char result[16], md5_ctx *context);

#endif	// __md5_H
